

class Component(object):
    def __init__(self, name, summary, description, url, category, top_category, maintainer, license):
        self.id_component = 0
        self.summary = summary
        self.name = name
        self.description = description
        self.url = url
        self.category = category
        self.top_category = top_category
        self.maintainer = maintainer
        self.license = license
                            
    def __repr__(self):
        return "<Component('%s','%s', '%s')>" % (self.name, self.url)
    
    